package com.yunpeng.dishes.common.dtos.business;

import java.util.List;

/**
 * OrderDishesSnapshotDTO
 *
 * @author : Moore(hemw)
 * @date : 2020-03-27
 */
public class OrderDishesSnapshotDTO {

    /**
     * 订单id
     */
    private Long orderId;

    /**
     * 订单编号
     */
    private String orderCode;

    /**
     * 订单菜品代码集合
     */
    private List<Long> dishesIds;

    /**
     * 订单归属商户id
     */
    private Long merchantId;

    /**
     * 订单消费用户id
     */
    private Long consumerId;

    /**
     * 早、午、晚餐
     */
    private Short mealType;

    public OrderDishesSnapshotDTO() {
    }

    public OrderDishesSnapshotDTO(Long orderId, String orderCode, List<Long> dishesIds, Long merchantId, Long consumerId, Short mealType) {
        this.orderId = orderId;
        this.orderCode = orderCode;
        this.dishesIds = dishesIds;
        this.merchantId = merchantId;
        this.consumerId = consumerId;
        this.mealType = mealType;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public List<Long> getDishesIds() {
        return dishesIds;
    }

    public void setDishesIds(List<Long> dishesIds) {
        this.dishesIds = dishesIds;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Long getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(Long consumerId) {
        this.consumerId = consumerId;
    }

    public Short getMealType() {
        return mealType;
    }

    public void setMealType(Short mealType) {
        this.mealType = mealType;
    }

    @Override
    public String toString() {
        return "OrderDishesSnapshotDTO{" +
                "orderId=" + orderId +
                ", orderCode='" + orderCode + '\'' +
                ", dishesIds=" + dishesIds +
                ", merchantId=" + merchantId +
                ", consumerId=" + consumerId +
                ", mealType=" + mealType +
                '}';
    }
}
